package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.SysFavoriteShareProxy;

/**
 * 投屏资源共享表 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "SysFavoriteShare", description = "投屏资源共享表")
@Table(value = "SYS_FAVORITE_SHARE")
@EntityFileProxy
public class SysFavoriteShare implements ProxyEntityAvailable<SysFavoriteShare, SysFavoriteShareProxy> {

    /**
     * 共享ID
     */
    @Schema(description = "共享ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(primaryKey = true, value = "ID")
    private String id;

    /**
     * 收藏ID
     */
    @Schema(description = "收藏ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(value = "FAV_ID")
    private String favId;

    /**
     * 访问的用户ID
     */
    @Schema(description = "访问的用户ID")
    @Column(value = "USER_ID")
    private String userId;

    /**
     * 访问的角色ID
     */
    @Schema(description = "访问的角色ID")
    @Column(value = "ROLE_ID")
    private String roleId;

    /**
     * 访问权限0是浏览, 1是编辑
     */
    @Schema(description = "访问权限0是浏览, 1是编辑")
    @Column(value = "PERMISSION")
    private String permission;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @Column(value = "REMARKS")
    private String remarks;
}
